<?php
session_start();
include_once '../config/conexao.php';
$post = $_POST['post'];
$insert = $conn->query("update postagem set estado = 'C' where codigo = $post");
if($insert){
	echo 1;
} else{
	echo 0;
}